<nav th:fragment="top" class="navbar navbar-default navbar-fixed-top">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="logo-a" th:href="@{/}"><img th:src="@{/img/logo.png}" alt="logo"></a>
        </div>

        <div class="collapse navbar-collapse navbar-right" aria-expanded="false">
            <ul class="nav navbar-nav">
                <li class=" active"><a th:href="@{/}">首页</a></li>
                <li class=""><a href="#">解决方案</a></li>
                <li class=""><a href="#">服务中心</a></li>
                <li class=""><a href="#">新闻动态</a></li>
                <li class=""><a href="#">关于我们</a></li>
                <!--
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        工具
                        <b class="caret"></b>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a th:href="@{/home/difference}">代码比较</a></li>
                    </ul>
                </li>-->
                <!--<li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        模板中心
                        <b class="caret"></b>
                    </a>
                    &lt;!&ndash;模板中心线上环境访问&ndash;&gt;
                    <ul class="dropdown-menu">
                        <li><a href="/zshop/home/home.html">商城模板</a></li>
                        <li><a href="/admin/index.html">后台模板</a></li>
                    </ul>
                </li>
                <li class="color-red"><a th:href="@{/index}">控制台</a></li>-->
            </ul>
        </div>
    </div>
</nav>